package com.base.service;

import com.base.po.voip.CarPark;
import com.base.po.voip.CarParkExample;
import com.base.utils.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CarParkService {
    int countByExample(CarParkExample example);

    int deleteByExample(CarParkExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(CarPark record);

    int insertSelective(CarPark record);

    List<CarPark> selectByExample(CarParkExample example);

    List<CarPark> selectByUserIds(String userid);

    List<CarPark> selectByOpenIds(String openid);

    List<CarPark> selectByMobiles(String mobile);

    List<CarPark> selectByAll(@Param("page")Page page, @Param("parentId")String parentId);

    List<CarPark> selectUserIdNull();

    List<CarPark> selectOpenIdNull();

    List<CarPark> selectByNew();

    CarPark selectByPrimaryKey(String id);

    CarPark selectByUserId(String userid);

    int updateByExampleSelective(@Param("record") CarPark record, @Param("example") CarParkExample example);

    int updateByExample(@Param("record") CarPark record, @Param("example") CarParkExample example);

    int updateByPrimaryKeySelective(CarPark record);

    int updateByPrimaryKey(CarPark record);

    int countByAll(@Param("parentId")String parentId);
}